package one.stand.request;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DynamicRequest extends BaseRequest implements Serializable {
    private Integer dynamicId;

    private Integer companyId;

    private String companyName;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 类型 1:文章 2:动态 3:转载
     */
    private Integer type;

    /**
     * 图片 封面
     */
    private String photos;

    /**
     * 详情
     */
    private String details;

    /**
     * 当前作者
     */
    private String author;

    /**
     * 原始作者，如转载文章的来源公众号
     */
    private String originAuthor;

    /**
     * 发布人ID
     */
    private Integer createUserId;

    /**
     * 是否是草稿 1草稿
     */
    @ApiModelProperty(value = "是否发布",required = true)
    private Integer isDrafts;

    private Date createTime;

    private Integer enable;

    private String companyLogo;

    private String companyPhone;

    private String companyNotice;

    private String industryId;

    private String recruitPhone;

    private String doThumbsName;

    private Integer doThumbsNum;

    private Integer isThumbs;

    private Integer cardId;

    /**
     * 文章分类id
     */
    @ApiModelProperty(value = "文章分类不能为空",required = true)
    @NotNull(message = "文章分类不能为空")
    private Integer essayTypeId;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;


}
